<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>webQQ</title>
		<%
			String name = request.getParameter("name");
			name = new String(name.getBytes("ISO-8859-1"), "utf-8");
		%>
		<script type="text/javascript" src="js/ajax-pushlet-client.js"></script>
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/IM.js"></script>
		<link rel="stylesheet" type="text/css" href="css/IM.css" />

	</head>
	<body onload="PL._init();">
		<!-- 下面这句表示用户将当前请求过来的用户 保存在隐藏域中 -->
		<input type="hidden" id="name" value="<%=name%>">
		<table>
			<tr>
				<td>
					<div class="inf">
						<div class="main">
							<div class="main-right">
								<div class="main-right-t">
									欢迎使用web聊天 欢迎你：<%=name%>
								</div>
								<div class="main-right-1">
									<div class="main-right-2" style="cursor: pointer"
										onclick="auto_init('cw')">
										财务部
									</div>
									<div id="cw">
									</div>
								</div>
							</div>
						</div>
					</div>
				</td> 
			</tr>
		</table>


		<!-- 聊天信息模版代码 -->
		<div id="chat" style="display: none;">
			<table border="0" cellspacing="0">
				<tr>
					<td bgcolor="#BFCED4">
						<table border="0" cellspacing="0" cellpadding="4">
							<tr>
								<td>
									<div id="infoName"></div>
								</td>
								<td align="right">
									<div id="closeDIV"></div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td bgcolor="#EAEAEA" colspan="2">
						<label for="chatRoom1">
							消息框:
						</label>
						<div id="infoDiv">
						</div>
						<label for="msg">
							输入框:
						</label>
						<div id="printDiv">
						</div>
						<div id="sendDiv"></div>
					</td>
				</tr>
			</table>
		</div>

	</body>
</html>
